{extend name="../../admin/view/main"}

{block name='content'}
<form action="{:sysuri()}" class="layui-card layui-form" data-auto="true" method="post">
    <div class="layui-card-body">



        <!--        <div class="layui-form-item label-required-prev">-->
        <!--            <span class="help-label"><b>游戏简图</b>game_icon</span>-->
        <!--            <div class="relative block label-required-null">-->
        <!--                <input class="layui-input think-bg-gray" name="game_icon" placeholder="请上传游戏简图" readonly required value='{$vo.game_icon|default=""}'>-->
        <!--                <a class="layui-icon layui-icon-upload input-right-icon" data-file data-field="cover" data-type="gif,png,jpg,jpeg"></a>-->
        <!--            </div>-->
        <!--        </div>-->

        <label class="layui-form-item relative block">
            <span class="help-label"><b>客服在线qq</b></span>
            <input class="layui-input" name="customer_service_qq"  required value='{$customer_service_qq|default=""}'>
        </label>

        <label class="layui-form-item relative block">
            <span class="help-label"><b>客服电话</b></span>
            <input class="layui-input" name="customer_service_phone"  required value='{$customer_service_phone|default=""}'>
        </label>

        <label class="layui-form-item relative block">
            <span class="help-label"><b>客服在线时间</b></span>
            <input class="layui-input" name="customer_service_time"  required value='{$customer_service_time|default=""}'>
        </label>
        <label class="layui-form-item relative block">
            <span class="help-label"><b>提现手续费比例(%)</b></span>
            <input class="layui-input" name="withdrew_rate"  required value='{$withdrew_rate|default="0"}'>
        </label>

        <label class="layui-form-item relative block">
            <span class="help-label"><b>积分返还比例(%)</b></span>
            <input class="layui-input" name="integral_rate"  required value='{$integral_rate|default="0"}'>
        </label>


        <label class="layui-form-item relative block">
            <span class="help-label"><b>拉新充值返积分比例(%)</b></span>
            <input class="layui-input" name="recharge_integral_commission_rate" value="{$recharge_integral_commission_rate|default=0}"/>
        </label>



        <label class="layui-form-item relative block">
            <span class="help-label"><b>分佣比例(%)</b></span>
            <input class="layui-input" name="commission_rate"  required value='{$commission_rate|default="0"}'>
        </label>
        <label class="layui-form-item relative block">
            <span class="help-label"><b>拉新注册返积分(个)</b></span>
            <input class="layui-input" name="invite_register_integral"  required value='{$invite_register_integral|default="0"}'>
        </label>

        <label class="layui-form-item relative block">
            <span class="help-label"><b>签到送积分</b></span>
            <input class="layui-input" name="signIn_give_integral" value="{$signIn_give_integral|default=''}" />
        </label>


        <label class="layui-form-item relative block">
            <span class="help-label"><b>积分兑换金币比例</b></span>
            <div class="layui-inline">
                <div  class="layui-input-inline" style="display:flex; align-items: center">
                    <input name="integral_duihuan_num" class="layui-input" value="{$integral_duihuan_num|default=''}"/>
                    <span style="display:inline-block;width:60px;">积分</span>
                </div>
                <div class="layui-form-mid">-</div>
                <div  class="layui-input-inline" style="display:flex;align-items: center">
                    <input name="duihuan_money_num" class="layui-input"  value="{$duihuan_money_num|default=''}"/>
                    <span style="display:inline-block;width:60px;">金币</span>
                </div>
            </div>
        </label>


        <label class="layui-form-item relative block">
            <span class="help-label"><b>转盘一每轮消耗积分</b></span>
            <input name="turntable1_integral" class="layui-input" value="{$turntable1_integral|default=0}"/>
        </label>
        <label class="layui-form-item relative block">
            <span class="help-label"><b>转盘二每轮消耗积分</b></span>
            <input name="turntable2_integral" class="layui-input" value="{$turntable2_integral|default=0}"/>
        </label>



        <div class="hr-line-dashed"></div>

        <div class="layui-form-item text-center">
            <button class="layui-btn" type="submit">保存数据</button>
            <button class="layui-btn layui-btn-danger" data-history-back data-confirm="确定要取消编辑吗？" type='button'>取消编辑</button>
        </div>
    </div>

</form>

<script>

</script>
{/block}
